Message Security Layer (MSL)

com.netflix.msl
Class MslCryptoException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.netflix.msl.MslException
              extended by com.netflix.msl.MslCryptoException
All Implemented Interfaces:
Serializable

public class MslCryptoException
extends MslException

Thrown when a crypto exception occurs within the Message Security Layer.

See Also:
Serialized Form

Field Summary
private static long serialVersionUID
           
 
Constructor Summary
MslCryptoException(MslError error)
          Construct a new MSL crypto exception with the specified error.
MslCryptoException(MslError error, String details)
          Construct a new MSL crypto exception with the specified error and details.
MslCryptoException(MslError error, String details, Throwable cause)
          Construct a new MSL crypto exception with the specified error, details, and cause.
MslCryptoException(MslError error, Throwable cause)
          Construct a new MSL crypto exception with the specified error and cause.
 
Method Summary
 MslCryptoException setEntity(EntityAuthenticationData entityAuthData)
          Set the entity associated with the exception.
 MslCryptoException setEntity(MasterToken masterToken)
          Set the entity associated with the exception.
 
Methods inherited from class com.netflix.msl.MslException
getEntityAuthenticationData, getError, getMasterToken, getMessageId, getUserAuthenticationData, getUserIdToken, setMessageId, setUser, 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

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

MslCryptoException

public MslCryptoException(MslError error)
Construct a new MSL crypto exception with the specified error.

Parameters:
error - the error.

MslCryptoException

public MslCryptoException(MslError error,
                          String details)
Construct a new MSL crypto exception with the specified error and details.

Parameters:
error - the error.
details - the details text.

MslCryptoException

public MslCryptoException(MslError error,
                          String details,
                          Throwable cause)
Construct a new MSL crypto exception with the specified error, details, and cause.

Parameters:
error - the error.
details - the details text.
cause - the cause.

MslCryptoException

public MslCryptoException(MslError error,
                          Throwable cause)
Construct a new MSL crypto exception with the specified error and cause.

Parameters:
error - the error.
cause - the cause.
Method Detail

setEntity

public MslCryptoException setEntity(EntityAuthenticationData entityAuthData)
Description copied from class: MslException
Set the entity associated with the exception. This does nothing if the entity is already set.

Overrides:
setEntity in class MslException
Parameters:
entityAuthData - entity associated with the error. May be null.
Returns:
this.

setEntity

public MslCryptoException setEntity(MasterToken masterToken)
Description copied from class: MslException
Set the entity associated with the exception. This does nothing if the entity is already set.

Overrides:
setEntity in class MslException
Parameters:
masterToken - entity associated with the error. May be null.
Returns:
this.

Message Security Layer (MSL)

Copyright © 2014 Netflix, Inc. All Rights Reserved.