Class SaltException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.suse.salt.netapi.exception.SaltException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MessageTooBigException, SaltUserUnauthorizedException
Exception to be thrown in case of problems with Salt.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSaltException(String message) Constructor expecting a custom message.SaltException(Throwable cause) Constructor expecting a custom cause. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SaltException
Constructor expecting a custom cause.- Parameters:
cause- the cause
-
SaltException
Constructor expecting a custom message.- Parameters:
message- the message
-