com.langner.jmatic2
Class JMaticException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.langner.jmatic2.JMaticException
All Implemented Interfaces:
java.io.Serializable

public class JMaticException
extends java.lang.Exception

Exception class used within the package com.langner.jmatic All classes within this packet throw this exception type to indicate failure of their functions. There is no public constructor, so you cannot create instances of this class yourself, but you can access the information contained in JMaticException instances via public member functions inherited from java.lang.Exception.

Version:
2.0
Author:
Langner Communications AG
See Also:
Serialized Form
Copyright:
Langner (c) 2001-2005

Method Summary
 int getErrorCode()
          Retrieves the JMatic errorcode specifing the particular problem
 ErrorInfo getErrorInfo()
          Retrieves an ErrorInfo object containing the exception information
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getErrorInfo

public ErrorInfo getErrorInfo()
Retrieves an ErrorInfo object containing the exception information

Returns:
The corrosponding ErrorInfo object
See Also:
ErrorInfo

getErrorCode

public int getErrorCode()
Retrieves the JMatic errorcode specifing the particular problem

Returns:
The JMatic errorcode


Copyright © 2001-2005 Langner Communications AG. All Rights Reserved.