Class SpaceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.exoplatform.social.core.space.SpaceException
-
- All Implemented Interfaces:
Serializable
public class SpaceException extends Exception
Created by IntelliJ IDEA. User: jeremi Date: Dec 4, 2008 Time: 11:50:29 AM To change this template use File | Settings | File Templates.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSpaceException.CodeThe Enum Code.
-
Constructor Summary
Constructors Constructor Description SpaceException(SpaceException.Code code)Instantiates a new space exception.SpaceException(SpaceException.Code code, String msg)Instantiates a new space exception.SpaceException(SpaceException.Code code, String msg, Throwable cause)Instantiates a new space exception.SpaceException(SpaceException.Code code, Throwable cause)Instantiates a new space exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SpaceException.CodegetCode()Gets the code.StringtoString()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
SpaceException
public SpaceException(SpaceException.Code code)
Instantiates a new space exception.- Parameters:
code- the code
-
SpaceException
public SpaceException(SpaceException.Code code, Throwable cause)
Instantiates a new space exception.- Parameters:
code- the codecause- the cause
-
SpaceException
public SpaceException(SpaceException.Code code, String msg, Throwable cause)
Instantiates a new space exception.- Parameters:
code- the codemsg- the msgcause- the cause
-
SpaceException
public SpaceException(SpaceException.Code code, String msg)
Instantiates a new space exception.- Parameters:
code- the codemsg- the msg
-
-
Method Detail
-
getCode
public SpaceException.Code getCode()
Gets the code.- Returns:
- the code
-
-