|
Message Security Layer (MSL) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.netflix.msl.MslException
com.netflix.msl.MslMessageException
public class MslMessageException
Thrown when a message exception occurs within the Message Security Layer.
Field Summary | |
---|---|
private static long |
serialVersionUID
|
Constructor Summary | |
---|---|
MslMessageException(MslError error)
Construct a new MSL message exception with the specified error. |
|
MslMessageException(MslError error,
String details)
Construct a new MSL message exception with the specified error and details. |
|
MslMessageException(MslError error,
String details,
Throwable cause)
Construct a new MSL message exception with the specified error, details, and cause. |
Method Summary | |
---|---|
MslMessageException |
setEntity(EntityAuthenticationData entityAuthData)
Set the entity associated with the exception. |
MslMessageException |
setEntity(MasterToken masterToken)
Set the entity associated with the exception. |
MslMessageException |
setMessageId(long messageId)
Set the message ID of the message associated with the exception. |
MslMessageException |
setUser(UserIdToken userIdToken)
Set the user associated with the exception. |
Methods inherited from class com.netflix.msl.MslException |
---|
getEntityAuthenticationData, getError, getMasterToken, getMessageId, getUserAuthenticationData, getUserIdToken, setUser |
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 |
Field Detail |
---|
private static final long serialVersionUID
Constructor Detail |
---|
public MslMessageException(MslError error)
error
- the error.public MslMessageException(MslError error, String details)
error
- the error.details
- the details text.public MslMessageException(MslError error, String details, Throwable cause)
error
- the error.details
- the details text.cause
- the cause.Method Detail |
---|
public MslMessageException setEntity(MasterToken masterToken)
MslException
setEntity
in class MslException
masterToken
- entity associated with the error. May be null.
public MslMessageException setEntity(EntityAuthenticationData entityAuthData)
MslException
setEntity
in class MslException
entityAuthData
- entity associated with the error. May be null.
public MslMessageException setUser(UserIdToken userIdToken)
MslException
setUser
in class MslException
userIdToken
- user associated with the error. May be null.
public MslMessageException setMessageId(long messageId)
MslException
setMessageId
in class MslException
messageId
- message ID of the message associated with this error.
|
Message Security Layer (MSL) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |