com.sage.accpac.sm
Class A4wapiGenericError
java.lang.Object
   java.lang.Throwable
java.lang.Throwable
       java.lang.Error
java.lang.Error
           com.sage.accpac.sm.A4wapiGenericError
com.sage.accpac.sm.A4wapiGenericError
- All Implemented Interfaces: 
- java.io.Serializable
- @NotThreadSafe
public class A4wapiGenericError 
- extends java.lang.Error
Error thrown by the underlying system
- See Also:
- Serialized Form
- Thread safety
- Not thread-safe
 
| Method Summary | 
|  java.lang.String | getDomain()returns the domain of the exception (the area of Accpac where the
 exception occurred)
 | 
|  java.lang.String | getMessage()
 | 
|  int | getValue()returns any integer associated value
 | 
 
| Methods inherited from class java.lang.Throwable | 
| fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
A4wapiGenericError
public A4wapiGenericError(java.lang.String domain,
                          int value,
                          java.lang.String context)
- creates an instance of the A4wapiGenericErrorerror with the given
 arguments.
 
- Parameters:
- domain- the domain of the exception, the region within Accpac where it
           happened. This gives context to the value. For example is the
           domain th "User" area, in which case the value will be an ecodes
           value
- value- any integer value associated with the error
- context- the context in which this happened, typically the function being
           called
 
getDomain
public java.lang.String getDomain()
- returns the domain of the exception (the area of Accpac where the
 exception occurred)
 
- 
- Returns:
- the domain
 
getValue
public int getValue()
- returns any integer associated value
 
- 
- Returns:
- any integer associated value
 
getMessage
public java.lang.String getMessage()
- 
- Overrides:
- getMessagein class- java.lang.Throwable
 
- 
 
				Copyright © 2010 Sage Software, Inc.  All rights reserved.