com.sas.hls.resource.repository.exception
Class RepositoryResourceCheckinException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.sas.hls.common.exception.AbstractCheckedException
              extended by com.sas.hls.resource.exception.ResourceException
                  extended by com.sas.hls.resource.repository.exception.RepositoryResourceCheckinException
All Implemented Interfaces:
Serializable

public class RepositoryResourceCheckinException
extends ResourceException

Thrown when an attempt is made to checkin a resource that is not checked out.

This exception can also be thrown when the checkin specification can not be satisfied (for example you specify a checkin with a custom version number of 4.1, but the file was already at version 6.0).

See Also:
Serialized Form

Constructor Summary
RepositoryResourceCheckinException(String path, String message)
          Constructs a RepositoryResourceCheckinException with the specified message.
RepositoryResourceCheckinException(String path, String message, Throwable cause)
          Constructs a RepositoryResourceCheckinException with the specified message and root cause.
 
Method Summary
 
Methods inherited from class com.sas.hls.resource.exception.ResourceException
getPath
 
Methods inherited from class com.sas.hls.common.exception.AbstractCheckedException
getLocalizedMessage, getMessage, getRootCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RepositoryResourceCheckinException

public RepositoryResourceCheckinException(String path,
                                          String message)
Constructs a RepositoryResourceCheckinException with the specified message.

Parameters:
path - of the resource in question
message - the detailed message

RepositoryResourceCheckinException

public RepositoryResourceCheckinException(String path,
                                          String message,
                                          Throwable cause)
Constructs a RepositoryResourceCheckinException with the specified message and root cause.

Parameters:
path - of the resource in question
message - the detailed message
cause - the root cause for this exception


Copyright (c) 2016, SAS Institute Inc., Cary, NC, USA