org.jasig.portal
Class ErrorID
java.lang.Object
org.jasig.portal.ErrorID
- public class ErrorID
- extends java.lang.Object
Represents a portal error or problem.
- Version:
- $Revision: 1.2 $
- Author:
- Howard Gilbert
Constructor Summary |
ErrorID(java.lang.String category,
java.lang.String specific,
java.lang.String msg)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
audienceAdmin
public final byte audienceAdmin
- See Also:
- Constant Field Values
audiencePgmr
public final byte audiencePgmr
- See Also:
- Constant Field Values
audienceUser
public final byte audienceUser
- See Also:
- Constant Field Values
durationRetry
public final byte durationRetry
- See Also:
- Constant Field Values
durationSession
public final byte durationSession
- See Also:
- Constant Field Values
durationLater
public final byte durationLater
- See Also:
- Constant Field Values
durationRestart
public final byte durationRestart
- See Also:
- Constant Field Values
durationMustfix
public final byte durationMustfix
- See Also:
- Constant Field Values
ErrorID
public ErrorID(java.lang.String category,
java.lang.String specific,
java.lang.String msg)
- Parameters:
category
- specific
- component/errorname as in "authenticate/badpassword"msg
- default message text if not replaced from resources
getMessage
public java.lang.String getMessage()
- Returns:
- the message
getCategory
public java.lang.String getCategory()
- Returns:
- the category
getSpecific
public java.lang.String getSpecific()
- Returns:
- the specific
getAudience
public byte getAudience()
- Returns:
- the audience
getDuration
public byte getDuration()
- Returns:
- the duration
setAudience
public void setAudience(byte b)
- Parameters:
b
-
setDuration
public void setDuration(byte b)
- Parameters:
b
-
withAudience
public ErrorID withAudience(byte b)
withDuration
public ErrorID withDuration(byte b)