|
||||||||||
| 전의 Class에 다음의 Class에 | 프레임 있어 프레임 없음 | |||||||||
| Summary : 네스트 | 필드 | constructor | 메소드 | 상세 : 필드 | constructor | 메소드 | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
flex.messaging.LocalizedException
Public Class LocalizedException
LocalizedException Class는, 로컬라이즈 된 에러 메세지 및 상세 정보 string를 사용하는 서버 Exception의 기본 Class입니다. 이 Class는,setMessage 및 setDetails 를 overload 해, 에러 번호와 옵션의 메세지 변형의 인도를 지원(support)합니다. 메세지 변형은,ResourceLoader 를 사용해 로컬라이즈 된 에러 메세지 또는 상세 정보 string를 참조하기 위해서 사용됩니다. 이러한 메소드는, Exception 인스턴스의 번호 프롭퍼티도 Configuration 합니다.
다양한 overload가, 타겟 로케일 및 인수의 지정을 옵션으로 지원(support)하고 있어, 로컬라이즈 된 string가 파라미터화 되고 있는 경우에, 옮겨놓을 수가 있습니다.
로컬라이즈 된 에러 메세지 및 상세 string는, flex.messaging.errors 리소스 번들에 포함됩니다. 엔Tree는 다음의 형식인 것이 필요합니다.
ResourceLoader, Serialization 된 형식 | constructor Summary | |
|---|---|
LocalizedException ()
디폴트의 ResourceLoader 으로 LocalizedException 를 작성합니다. |
|
LocalizedException (flex.messaging.util.ResourceLoader resourceLoader)
지정된 ResourceLoader 을 사용하는 LocalizedException 를 작성합니다. |
|
| 메소드 Summary | |
|---|---|
String |
getDetails ()
Exception의 상세 정보를 돌려줍니다. |
String |
getMessage ()
Exception 메세지를 돌려줍니다. |
int |
getNumber ()
로컬라이즈 된 Exception 번호를 돌려줍니다. |
protected flex.messaging.util.ResourceLoader |
getResourceLoader ()
로컬라이즈 된 string의 로드에 사용되는 ResourceLoader 를 돌려줍니다. |
Throwable |
getRootCause ()
이 Exception의 근본적인 원인을 돌려줍니다. |
void |
setDetails (int number)
에러 번호에 근거해, 로컬라이즈 된 string에 상세 프롭퍼티를 Configuration 합니다. |
void |
setDetails (int number, String variant)
에러 번호 및 변형에 근거해, 로컬라이즈 된 string에 상세 프롭퍼티를 Configuration 합니다. |
void |
setDetails (int number, String variant, Locale locale)
에러 번호, 변형, 및 타겟 로케일에 근거해, 로컬라이즈 된 string에 상세 프롭퍼티를 Configuration 합니다. |
void |
setDetails (int number, String variant, Locale locale, Object [] arguments)
에러 번호, 변형, 및 타겟 로케일에 근거해, 로컬라이즈 된 string에 상세 프롭퍼티를 Configuration 합니다. |
void |
setDetails (int number, String variant, Object [] arguments)
에러 번호 및 변형에 근거해, 로컬라이즈 된 string에 상세 프롭퍼티를 Configuration 합니다. |
void |
setDetails (String details)
Exception의 상세 정보를 Configuration 합니다. |
void |
setMessage (int number)
에러 번호에 근거해, 로컬라이즈 된 string에 메세지 프롭퍼티를 Configuration 합니다. |
void |
setMessage (int number, Locale locale)
에러 번호 및 타겟 로케일에 근거해, 로컬라이즈 된 string에 메세지 프롭퍼티를 Configuration 합니다. |
void |
setMessage (int number, Object [] arguments)
에러 번호에 근거해, 로컬라이즈 된 string에 메세지 프롭퍼티를 Configuration 합니다. |
void |
setMessage (int number, String variant)
에러 번호 및 변형에 근거해, 로컬라이즈 된 string에 메세지 프롭퍼티를 Configuration 합니다. |
void |
setMessage (int number, String variant, Locale locale)
에러 번호, 변형, 및 타겟 로케일에 근거해, 로컬라이즈 된 string에 메세지 프롭퍼티를 Configuration 합니다. |
void |
setMessage (int number, String variant, Locale locale, Object [] arguments)
에러 번호, 변형, 및 타겟 로케일에 근거해, 로컬라이즈 된 string에 메세지 프롭퍼티를 Configuration 합니다. |
void |
setMessage (int number, String variant, Object [] arguments)
에러 번호 및 변형에 근거해, 로컬라이즈 된 string에 메세지 프롭퍼티를 Configuration 합니다. |
void |
setMessage (String message)
Exception 메세지를 Configuration 합니다. |
void |
setNumber (int number)
로컬라이즈 된 Exception 번호를 Configuration 합니다. |
void |
setRootCause (Throwable cause)
이 Exception의 근본적인 원인을 Configuration 합니다. |
String |
toString ()
Exception의 string 표현을 돌려줍니다. |
| Class java.lang. Throwable 로부터 상속 받는 메소드 |
|---|
fillInStackTrace , getCause , getLocalizedMessage , getStackTrace , initCause , printStackTrace , printStackTrace , printStackTrace , setStackTrace |
| Class java.lang. Object 로부터 상속 받는 메소드 |
|---|
clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait |
| constructor 의 상세 |
|---|
public LocalizedException()
public LocalizedException(flex.messaging.util.ResourceLoader resourceLoader)
resourceLoader - | 메소드의 상세 |
|---|
public String getDetails()
public void setDetails(String details)
details - Exception의 상세 정보public void setMessage(int number)
number - 이 Exception 인스턴스의 에러 번호public void setMessage(int number, Locale locale)
number - 이 Exception 인스턴스의 에러 번호locale - 에러 메세지 참조의 타겟 로케일public void setMessage(int number, Object [] arguments)
number - 이 Exception 인스턴스의 에러 번호arguments - 에러 메세지로 옮겨지는 인수public void setMessage(int number, String variant)
number - 이 Exception 인스턴스의 에러 번호variant - 이 인스턴스의 에러 메세지의 변형public void setMessage(int number, String variant, Locale locale)
number - 이 Exception 인스턴스의 에러 번호variant - 이 인스턴스의 에러 메세지의 변형locale - 에러 메세지 참조의 타겟 로케일public void setMessage(int number, String variant, Object [] arguments)
number - 이 Exception 인스턴스의 에러 번호variant - 이 인스턴스의 에러 메세지의 변형arguments - 에러 메세지로 옮겨지는 인수public void setMessage(int number, String variant, Locale locale, Object [] arguments)
number - 이 Exception 인스턴스의 에러 번호variant - 이 인스턴스의 에러 메세지의 변형locale - 에러 메세지 참조의 타겟 로케일arguments - 에러 메세지로 옮겨지는 인수public String getMessage()
Throwable 의 것 getMessage public void setMessage(String message)
message - Exception 메세지public void setNumber(int number)
number - 로컬라이즈 된 Exception 번호public int getNumber()
public void setDetails(int number)
number - 상세 정보를 참조하는 에러 번호public void setDetails(int number, String variant)
number - 상세 정보를 참조하는 에러 번호variant - 참조하는 상세 string의 변형public void setDetails(int number, String variant, Locale locale)
number - 상세 정보를 참조하는 에러 번호variant - 참조하는 상세 string의 변형locale - 참조의 타겟 로케일public void setDetails(int number, String variant, Object [] arguments)
number - 상세 정보를 참조하는 에러 번호variant - 참조하는 상세 string의 변형arguments - 상세 정보 string로 옮겨지는 인수public void setDetails(int number, String variant, Locale locale, Object [] arguments)
number - 로컬라이즈 된 상세 정보 string를 참조하는 에러 번호variant - 참조하는 상세 string의 변형locale - 참조의 타겟 로케일arguments - 상세 정보 string로 옮겨지는 인수public Throwable getRootCause()
public void setRootCause(Throwable cause)
cause - 이 Exception의 근본적인 원인protected flex.messaging.util.ResourceLoader getResourceLoader()
ResourceLoader 를 돌려줍니다.
ResourceLoaderpublic String toString()
Throwable 의 것 toString
|
||||||||||
| 전의 Class에 다음의 Class에 | 프레임 있어 프레임 없음 | |||||||||
| Summary : 네스트 | 필드 | constructor | 메소드 | 상세 : 필드 | constructor | 메소드 | |||||||||