JpegLoadException

Inheritance: java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.aspose.psd.coreexceptions.ImageException, com.aspose.psd.coreexceptions.imageformats.JpegException

public class JpegLoadException extends JpegException

Represents the JPEG image loading exception.

Constructors

ConstructorDescription
JpegLoadException(String message)Initializes a new instance of the JpegLoadException class.
JpegLoadException(String message, Throwable innerException)Initializes a new instance of the JpegLoadException class.
JpegLoadException(String message, int reason)Initializes a new instance of the JpegLoadException class.
JpegLoadException(String message, Throwable innerException, int reason)Initializes a new instance of the JpegLoadException class.

Methods

MethodDescription
addSuppressed(Throwable arg0)
equals(Object arg0)
fillInStackTrace()
getCause()
getClass()
getComponentsInfo_internalized()Gets or sets the JPEG image components information.
getInnerException()
getLocalizedMessage()
getMessage()
getReason()Gets or sets the reason of error.
getStackTrace()
getSuppressed()
getType()
hashCode()
initCause(Throwable arg0)
notify()
notifyAll()
printStackTrace()
printStackTrace(PrintStream arg0)
printStackTrace(PrintWriter arg0)
setComponentsInfo_internalized(JpegComponentInfo[] value)Gets or sets the JPEG image components information.
setReason(int value)Gets or sets the reason of error.
setStackTrace(StackTraceElement[] arg0)
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

JpegLoadException(String message)

public JpegLoadException(String message)

Initializes a new instance of the JpegLoadException class.

Parameters:

ParameterTypeDescription
messagejava.lang.StringThe exception message.

JpegLoadException(String message, Throwable innerException)

public JpegLoadException(String message, Throwable innerException)

Initializes a new instance of the JpegLoadException class.

Parameters:

ParameterTypeDescription
messagejava.lang.StringThe message.
innerExceptionjava.lang.ThrowableThe inner exception.

JpegLoadException(String message, int reason)

public JpegLoadException(String message, int reason)

Initializes a new instance of the JpegLoadException class.

Parameters:

ParameterTypeDescription
messagejava.lang.StringThe exception message.
reasonintThe reason of error.

JpegLoadException(String message, Throwable innerException, int reason)

public JpegLoadException(String message, Throwable innerException, int reason)

Initializes a new instance of the JpegLoadException class.

Parameters:

ParameterTypeDescription
messagejava.lang.StringThe exception message.
innerExceptionjava.lang.ThrowableThe inner exception.
reasonintThe reason of error.

addSuppressed(Throwable arg0)

public final synchronized void addSuppressed(Throwable arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Throwable

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.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

getComponentsInfo_internalized()

public JpegComponentInfo[] getComponentsInfo_internalized()

Gets or sets the JPEG image components information.

Value: The JPEG image components information.

Returns: com.aspose.internal.fileformats.jpeg.JpegComponentInfo[]

getInnerException()

public Throwable getInnerException()

Returns: java.lang.Throwable

getLocalizedMessage()

public String getLocalizedMessage()

Returns: java.lang.String

getMessage()

public String getMessage()

Returns: java.lang.String

getReason()

public int getReason()

Gets or sets the reason of error.

Value: The reason of error.

Returns: int

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:

ParameterTypeDescription
arg0java.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:

ParameterTypeDescription
arg0java.io.PrintStream

printStackTrace(PrintWriter arg0)

public void printStackTrace(PrintWriter arg0)

Parameters:

ParameterTypeDescription
arg0java.io.PrintWriter

setComponentsInfo_internalized(JpegComponentInfo[] value)

public void setComponentsInfo_internalized(JpegComponentInfo[] value)

Gets or sets the JPEG image components information.

Value: The JPEG image components information.

Parameters:

ParameterTypeDescription
valuecom.aspose.internal.fileformats.jpeg.JpegComponentInfo[]

setReason(int value)

public void setReason(int value)

Gets or sets the reason of error.

Value: The reason of error.

Parameters:

ParameterTypeDescription
valueint

setStackTrace(StackTraceElement[] arg0)

public void setStackTrace(StackTraceElement[] arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.StackTraceElement[]

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int