org.overlord.sramp.common
Class SrampUserException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.overlord.sramp.common.SrampException
              extended by org.overlord.sramp.common.SrampUserException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ArtifactNotFoundException, InvalidClassifiedByException, OntologyAlreadyExistsException, OntologyNotFoundException

public abstract class SrampUserException
extends SrampException

Exception thrown when the user/client did something they shouldn't have done. This represents things like invalid query syntax, asking for a UUID that doesn't exist, etcetera. It does *not* represent unexpected server errors like out of memory or out of disk space.

Author:
eric.wittmann@redhat.com
See Also:
Serialized Form

Constructor Summary
SrampUserException()
          Constructor.
SrampUserException(String message)
          Constructor.
SrampUserException(String message, Throwable cause)
          Constructor.
SrampUserException(Throwable cause)
          Constructor.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

SrampUserException

public SrampUserException()
Constructor.


SrampUserException

public SrampUserException(String message)
Constructor.

Parameters:
message -

SrampUserException

public SrampUserException(String message,
                          Throwable cause)
Constructor.

Parameters:
message -
cause -

SrampUserException

public SrampUserException(Throwable cause)
Constructor.

Parameters:
cause -


Copyright © 2011-2013 JBoss, a division of Red Hat. All Rights Reserved.