org.jboss.dna.common.collection
Class Problem
java.lang.Object
org.jboss.dna.common.collection.Problem
@Immutable
public class Problem
- extends java.lang.Object
- Author:
- Randall Hauch
Constructor Summary |
Problem(Problem.Status status,
int code,
I18n message,
java.lang.Object... params)
|
Problem(Problem.Status status,
int code,
I18n message,
java.lang.Object[] params,
java.lang.String resource,
java.lang.String location,
java.lang.Throwable throwable)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_CODE
public static final int DEFAULT_CODE
- See Also:
- Constant Field Values
Problem
public Problem(Problem.Status status,
int code,
I18n message,
java.lang.Object... params)
Problem
public Problem(Problem.Status status,
int code,
I18n message,
java.lang.Object[] params,
java.lang.String resource,
java.lang.String location,
java.lang.Throwable throwable)
getCode
public int getCode()
- Returns:
- code
getLocation
public java.lang.String getLocation()
- Returns:
- location
getMessageString
public java.lang.String getMessageString()
- Get the message written in the current locale.
- Returns:
- the message
getMessage
public I18n getMessage()
- Returns:
- message
getParameters
public java.lang.Object[] getParameters()
getResource
public java.lang.String getResource()
- Returns:
- resource
getStatus
public Problem.Status getStatus()
- Returns:
- status
getThrowable
public java.lang.Throwable getThrowable()
- Returns:
- throwable
Copyright © 2008. All Rights Reserved.