com.nimbusds.oauth2.sdk
Class ParseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.nimbusds.oauth2.sdk.GeneralException
              extended by com.nimbusds.oauth2.sdk.ParseException
All Implemented Interfaces:
Serializable

public class ParseException
extends GeneralException

Parse exception.

Author:
Vladimir Dzhuvinov
See Also:
Serialized Form

Constructor Summary
ParseException(String message)
          Creates a new parse exception.
ParseException(String message, ErrorObject error)
          Creates a new parse exception.
ParseException(String message, ErrorObject error, Throwable cause)
          Creates a new parse exception.
ParseException(String message, ErrorObject error, URL redirectURI, State state, Throwable cause)
          Creates a new parse exception.
ParseException(String message, Throwable cause)
          Creates a new parse exception.
 
Method Summary
 
Methods inherited from class com.nimbusds.oauth2.sdk.GeneralException
getErrorObject, getRedirectURI, getState
 
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
 

Constructor Detail

ParseException

public ParseException(String message)
Creates a new parse exception.

Parameters:
message - The exception message. May be null.

ParseException

public ParseException(String message,
                      Throwable cause)
Creates a new parse exception.

Parameters:
message - The exception message. May be null.
cause - The exception cause, null if not specified.

ParseException

public ParseException(String message,
                      ErrorObject error)
Creates a new parse exception.

Parameters:
message - The exception message. May be null.
error - The associated error, null if not specified.

ParseException

public ParseException(String message,
                      ErrorObject error,
                      Throwable cause)
Creates a new parse exception.

Parameters:
message - The exception message. May be null.
error - The associated error, null if not specified.
cause - The exception cause, null if not specified.

ParseException

public ParseException(String message,
                      ErrorObject error,
                      URL redirectURI,
                      State state,
                      Throwable cause)
Creates a new parse exception.

Parameters:
message - The exception message. May be null.
error - The associated error, null if not specified.
redirectURI - The associated redirection URI, must not be null.
state - The optional associated state parameter, null if not specified.
cause - The exception cause, null if not specified.


Copyright © 2013 NimbusDS. All Rights Reserved.