com.sage.accpac.sm
Interface Error


public interface Error

The Error interface provides details of an application error.
Objects of this class can be obtained from the Errors collection.


Nested Class Summary
static class Error.ErrorPriority
          Indicates the type of an application error.
 
Method Summary
 java.lang.String getCode()
          gets the error code
 java.lang.String getHelpFile()
          gets the help file associated with the error
 int getHelpID()
          gets the help context ID associated with the error
 java.lang.String getMessage()
          gets the message
 Error.ErrorPriority getPriority()
          gets the priority of the message
 java.lang.String getSource()
          gets the source of the error
 

Method Detail

getMessage

java.lang.String getMessage()
gets the message

Returns:
the message

getPriority

Error.ErrorPriority getPriority()
gets the priority of the message

Returns:
the priority of the message

getSource

java.lang.String getSource()
gets the source of the error

Returns:
the source of the error

getCode

java.lang.String getCode()
gets the error code

Returns:
the error code

getHelpFile

java.lang.String getHelpFile()
gets the help file associated with the error

Returns:
the help file associated with the error

getHelpID

int getHelpID()
gets the help context ID associated with the error

Returns:
the help context ID associated with the error


Copyright © 2011 Sage Software, Inc. All rights reserved.