flex.messaging
Class LocalizedException

java.lang.Object 
확장java.lang.Throwable 
확장java.lang.Exception 
확장java.lang.RuntimeException 
확장flex.messaging.LocalizedException
실장 Interface의 Summary :
Serializable
직접적인 기존의 서브 Class의 Summary :
MessageException

Public Class LocalizedException
RuntimeException 를 확장

LocalizedException Class는, 로컬라이즈 된 에러 메세지 및 상세 정보 string를 사용하는 서버 Exception의 기본 Class입니다. 이 Class는,setMessagesetDetails 를 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    의 상세

LocalizedException

public LocalizedException()
디폴트의 ResourceLoader 으로 LocalizedException 를 작성합니다.


LocalizedException

public LocalizedException(flex.messaging.util.ResourceLoader resourceLoader)
지정된 ResourceLoader 을 사용하는 LocalizedException 를 작성합니다.

파라미터 :
resourceLoader -
메소드의 상세

getDetails

public String  getDetails()
Exception의 상세 정보를 돌려줍니다.

반환값 :
Exception의 상세 정보

setDetails

public void setDetails(String  details)
Exception의 상세 정보를 Configuration 합니다.

파라미터 :
details - Exception의 상세 정보

setMessage

public void setMessage(int number)
에러 번호에 근거해, 로컬라이즈 된 string에 메세지 프롭퍼티를 Configuration 합니다.

파라미터 :
number - 이 Exception 인스턴스의 에러 번호

setMessage

public void setMessage(int number,
Locale  locale)
에러 번호 및 타겟 로케일에 근거해, 로컬라이즈 된 string에 메세지 프롭퍼티를 Configuration 합니다.

파라미터 :
number - 이 Exception 인스턴스의 에러 번호
locale - 에러 메세지 참조의 타겟 로케일

setMessage

public void setMessage(int number,
Object [] arguments)
에러 번호에 근거해, 로컬라이즈 된 string에 메세지 프롭퍼티를 Configuration 합니다. 건네받은 인수에 의해, 파라미터화 된 에러 메세지 string를 옮겨놓을 수 있습니다.

파라미터 :
number - 이 Exception 인스턴스의 에러 번호
arguments - 에러 메세지로 옮겨지는 인수

setMessage

public void setMessage(int number,
String  variant)
에러 번호 및 변형에 근거해, 로컬라이즈 된 string에 메세지 프롭퍼티를 Configuration 합니다.

파라미터 :
number - 이 Exception 인스턴스의 에러 번호
variant - 이 인스턴스의 에러 메세지의 변형

setMessage

public void setMessage(int number,
String  variant,
Locale  locale)
에러 번호, 변형, 및 타겟 로케일에 근거해, 로컬라이즈 된 string에 메세지 프롭퍼티를 Configuration 합니다.

파라미터 :
number - 이 Exception 인스턴스의 에러 번호
variant - 이 인스턴스의 에러 메세지의 변형
locale - 에러 메세지 참조의 타겟 로케일

setMessage

public void setMessage(int number,
String  variant,
Object [] arguments)
에러 번호 및 변형에 근거해, 로컬라이즈 된 string에 메세지 프롭퍼티를 Configuration 합니다. 건네받은 인수에 의해, 파라미터화 된 에러 메세지 string를 옮겨놓을 수 있습니다.

파라미터 :
number - 이 Exception 인스턴스의 에러 번호
variant - 이 인스턴스의 에러 메세지의 변형
arguments - 에러 메세지로 옮겨지는 인수

setMessage

public void setMessage(int number,
String  variant,
Locale  locale,
Object [] arguments)
에러 번호, 변형, 및 타겟 로케일에 근거해, 로컬라이즈 된 string에 메세지 프롭퍼티를 Configuration 합니다. 건네받은 인수에 의해, 파라미터화 된 에러 메세지 string를 옮겨놓을 수 있습니다.

파라미터 :
number - 이 Exception 인스턴스의 에러 번호
variant - 이 인스턴스의 에러 메세지의 변형
locale - 에러 메세지 참조의 타겟 로케일
arguments - 에러 메세지로 옮겨지는 인수

getMessage

public String  getMessage()
Exception 메세지를 돌려줍니다.

재정의(override) :
Class Throwable 의 것 getMessage
반환값 :
Exception 메세지

setMessage

public void setMessage(String  message)
Exception 메세지를 Configuration 합니다.

파라미터 :
message - Exception 메세지

setNumber

public void setNumber(int number)
로컬라이즈 된 Exception 번호를 Configuration 합니다.

파라미터 :
number - 로컬라이즈 된 Exception 번호

getNumber

public int getNumber()
로컬라이즈 된 Exception 번호를 돌려줍니다.

반환값 :
로컬라이즈 된 Exception 번호

setDetails

public void setDetails(int number)
에러 번호에 근거해, 로컬라이즈 된 string에 상세 프롭퍼티를 Configuration 합니다.

파라미터 :
number - 상세 정보를 참조하는 에러 번호

setDetails

public void setDetails(int number,
String  variant)
에러 번호 및 변형에 근거해, 로컬라이즈 된 string에 상세 프롭퍼티를 Configuration 합니다.

파라미터 :
number - 상세 정보를 참조하는 에러 번호
variant - 참조하는 상세 string의 변형

setDetails

public void setDetails(int number,
String  variant,
Locale  locale)
에러 번호, 변형, 및 타겟 로케일에 근거해, 로컬라이즈 된 string에 상세 프롭퍼티를 Configuration 합니다.

파라미터 :
number - 상세 정보를 참조하는 에러 번호
variant - 참조하는 상세 string의 변형
locale - 참조의 타겟 로케일

setDetails

public void setDetails(int number,
String  variant,
Object [] arguments)
에러 번호 및 변형에 근거해, 로컬라이즈 된 string에 상세 프롭퍼티를 Configuration 합니다. 건네받은 인수에 의해, 파라미터화 된 에러 상세 정보 string를 옮겨놓을 수 있습니다.

파라미터 :
number - 상세 정보를 참조하는 에러 번호
variant - 참조하는 상세 string의 변형
arguments - 상세 정보 string로 옮겨지는 인수

setDetails

public void setDetails(int number,
String  variant,
Locale  locale,
Object [] arguments)
에러 번호, 변형, 및 타겟 로케일에 근거해, 로컬라이즈 된 string에 상세 프롭퍼티를 Configuration 합니다. 건네받은 인수에 의해, 파라미터화 된 에러 상세 정보 string를 옮겨놓을 수 있습니다.

파라미터 :
number - 로컬라이즈 된 상세 정보 string를 참조하는 에러 번호
variant - 참조하는 상세 string의 변형
locale - 참조의 타겟 로케일
arguments - 상세 정보 string로 옮겨지는 인수

getRootCause

public Throwable  getRootCause()
이 Exception의 근본적인 원인을 돌려줍니다.

반환값 :
이 Exception의 근본적인 원인

setRootCause

public void setRootCause(Throwable  cause)
이 Exception의 근본적인 원인을 Configuration 합니다.

파라미터 :
cause - 이 Exception의 근본적인 원인

getResourceLoader

protected flex.messaging.util.ResourceLoader getResourceLoader()
로컬라이즈 된 string의 로드에 사용되는 ResourceLoader 를 돌려줍니다.

반환값 :
로컬라이즈 된 string의 로드에 사용되는 ResourceLoader

toString

public String  toString()
Exception의 string 표현을 돌려줍니다.

재정의(override) :
Class Throwable 의 것 toString
반환값 :
Exception의 string 표현


Copyright © 2006 Adobe Systems Inc. All Rights Reserved.