AsposeArgumentOutOfRangeException

Inheritance: java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.aspose.email.AsposeException

public class AsposeArgumentOutOfRangeException extends AsposeException

The exception that is thrown when one of the arguments provided to a method is out of range.

1

Constructors

Constructor Description
AsposeArgumentOutOfRangeException() Initializes a new instance of the AsposeArgumentOutOfRangeException class.
AsposeArgumentOutOfRangeException(String message) Initializes a new instance of the AsposeArgumentOutOfRangeException class with a specified error message.
AsposeArgumentOutOfRangeException(String format, Object[] parameters) Initializes a new instance of the AsposeArgumentOutOfRangeException class with a specified error message.
AsposeArgumentOutOfRangeException(String format, int parameter)
AsposeArgumentOutOfRangeException(String message, System.Exception innerException) Initializes a new instance of the AsposeArgumentOutOfRangeException class with a specified error message and a reference to the inner exception that is the cause of this exception.
AsposeArgumentOutOfRangeException(String message, String paramName)
AsposeArgumentOutOfRangeException(System.Exception innerException) Initializes a new instance of the AsposeArgumentOutOfRangeException class with a reference to the inner exception that is the cause of this exception.

Methods

Method Description
addSuppressed(Throwable arg0)
equals(Object arg0)
fillInStackTrace()
getCause()
getClass()
getErrorDetails() Gets extra information aboout error
getInnerException()
getLocalizedMessage()
getMessage() Gets a message that describes the current exception.
getParamName() Parameter name
getStackTrace()
getSuppressed()
getType()
hashCode()
initCause(Throwable arg0)
notify()
notifyAll()
printStackTrace()
printStackTrace(PrintStream arg0)
printStackTrace(PrintWriter arg0)
setStackTrace(StackTraceElement[] arg0)
toString() Returns a string that represents the current object.
wait()
wait(long arg0)
wait(long arg0, int arg1)

AsposeArgumentOutOfRangeException()

public AsposeArgumentOutOfRangeException()

Initializes a new instance of the AsposeArgumentOutOfRangeException class.

AsposeArgumentOutOfRangeException(String message)

public AsposeArgumentOutOfRangeException(String message)

Initializes a new instance of the AsposeArgumentOutOfRangeException class with a specified error message.

Parameters:

Parameter Type Description
message java.lang.String The message that describes the error.

AsposeArgumentOutOfRangeException(String format, Object[] parameters)

public AsposeArgumentOutOfRangeException(String format, Object[] parameters)

Initializes a new instance of the AsposeArgumentOutOfRangeException class with a specified error message.

Parameters:

Parameter Type Description
format java.lang.String Message format
parameters java.lang.Object[] Format parameters

AsposeArgumentOutOfRangeException(String format, int parameter)

public AsposeArgumentOutOfRangeException(String format, int parameter)

Parameters:

Parameter Type Description
format java.lang.String
parameter int

AsposeArgumentOutOfRangeException(String message, System.Exception innerException)

public AsposeArgumentOutOfRangeException(String message, System.Exception innerException)

Initializes a new instance of the AsposeArgumentOutOfRangeException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Parameters:

Parameter Type Description
message java.lang.String The error message that explains the reason for the exception.
innerException com.aspose.ms.System.Exception The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

AsposeArgumentOutOfRangeException(String message, String paramName)

public AsposeArgumentOutOfRangeException(String message, String paramName)

Parameters:

Parameter Type Description
message java.lang.String
paramName java.lang.String

AsposeArgumentOutOfRangeException(System.Exception innerException)

public AsposeArgumentOutOfRangeException(System.Exception innerException)

Initializes a new instance of the AsposeArgumentOutOfRangeException class with a reference to the inner exception that is the cause of this exception.

Parameters:

Parameter Type Description
innerException com.aspose.ms.System.Exception The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

addSuppressed(Throwable arg0)

public final synchronized void addSuppressed(Throwable arg0)

Parameters:

Parameter Type Description
arg0 java.lang.Throwable

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

Parameter Type Description
arg0 java.lang.Object

Returns: boolean

fillInStackTrace()

public synchronized Throwable fillInStackTrace()

Returns: java.lang.Throwable

getCause()

public synchronized Throwable getCause()

Returns: java.lang.Throwable

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getErrorDetails()

public final Object getErrorDetails()

Gets extra information aboout error

Returns: java.lang.Object

getInnerException()

public Throwable getInnerException()

Returns: java.lang.Throwable

getLocalizedMessage()

public String getLocalizedMessage()

Returns: java.lang.String

getMessage()

public String getMessage()

Gets a message that describes the current exception.

Returns: java.lang.String

getParamName()

public String getParamName()

Parameter name

Returns: java.lang.String

getStackTrace()

public StackTraceElement[] getStackTrace()

Returns: java.lang.StackTraceElement[]

getSuppressed()

public final synchronized Throwable[] getSuppressed()

Returns: java.lang.Throwable[]

getType()

public System.Type getType()

Returns: com.aspose.ms.System.Type

hashCode()

public native int hashCode()

Returns: int

initCause(Throwable arg0)

public synchronized Throwable initCause(Throwable arg0)

Parameters:

Parameter Type Description
arg0 java.lang.Throwable

Returns: java.lang.Throwable

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

printStackTrace()

public void printStackTrace()

printStackTrace(PrintStream arg0)

public void printStackTrace(PrintStream arg0)

Parameters:

Parameter Type Description
arg0 java.io.PrintStream

printStackTrace(PrintWriter arg0)

public void printStackTrace(PrintWriter arg0)

Parameters:

Parameter Type Description
arg0 java.io.PrintWriter

setStackTrace(StackTraceElement[] arg0)

public void setStackTrace(StackTraceElement[] arg0)

Parameters:

Parameter Type Description
arg0 java.lang.StackTraceElement[]

toString()

public String toString()

Returns a string that represents the current object.

Returns: java.lang.String - A string that represents the current object.

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

Parameter Type Description
arg0 long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

Parameter Type Description
arg0 long
arg1 int