Package net.bluemind.core.api.fault
Class ServerFault
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.bluemind.core.api.fault.ServerFault
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
InProgressException,ValidationException
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interface -
Constructor Summary
ConstructorsConstructorDescriptionServerFault(String s, Throwable t) ServerFault(String s, ErrorCode ec) ServerFault(String s, ErrorCode ec, Throwable t) -
Method Summary
Modifier and TypeMethodDescriptionstatic ServerFaultalreadyExists(String message) static ServerFaultstatic ServerFaultgetCode()static ServerFaultstatic <R> RonException(ServerFault.Operation<R> op, ErrorCode ec) static voidvoidstatic ServerFaultstatic ServerFaultstatic ServerFaulttooManyResults(String message) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ServerFault
public ServerFault() -
ServerFault
-
ServerFault
-
ServerFault
-
ServerFault
-
ServerFault
-
ServerFault
-
-
Method Details
-
getCode
-
setCode
-
sqlFault
-
sqlFault
-
create
-
notFound
-
alreadyExists
-
alreadyExists
-
tooManyResults
-
onException
-
onExceptionVoid
-