com.sage.accpac.sm
Class Error

java.lang.Object
  extended by com.sage.accpac.sm.Error

@Immutable
@ThreadSafe
public final class Error
extends java.lang.Object

Provides details of an application error.
Objects of this class can be obtained from the Errors collection.

Thread safety
Immutable and therefore thread-safe

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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getMessage

public java.lang.String getMessage()
gets the message


getPriority

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


getSource

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


getCode

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


getHelpFile

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


getHelpID

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



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