com.infoteria.asteria.value
Class ValueConvertException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.infoteria.asteria.value.ValueConvertException
All Implemented Interfaces:
Serializable

public class ValueConvertException
extends Exception

Valueクラスのデータ変換時に発生するExceptionです。

See Also:
Serialized Form

Constructor Summary
ValueConvertException(Exception e, Value.Type t, Object o)
          他のExceptionをラップするコンストラクタ
ValueConvertException(String msg, Value.Type t, Object o)
          エラーメッセージを指定するコンストラクタ
 
Method Summary
 Value.Type getType()
          変換に失敗したValueの型を取得します。
 Object getValue()
          変換に失敗したValue内のObjectを取得します。
 void printStackTrace()
           
 void printStackTrace(PrintStream s)
           
 void printStackTrace(PrintWriter s)
           
 
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ValueConvertException

public ValueConvertException(Exception e,
                             Value.Type t,
                             Object o)
他のExceptionをラップするコンストラクタ
Parameters:
e - 発生したException
t - 変換に失敗したValueの型
o - 変換に失敗したValue内のObject

ValueConvertException

public ValueConvertException(String msg,
                             Value.Type t,
                             Object o)
エラーメッセージを指定するコンストラクタ
Parameters:
msg - エラーメッセージ
t - 変換に失敗したValueの型
o - 変換に失敗したValue内のObject
Method Detail

getType

public Value.Type getType()
変換に失敗したValueの型を取得します。

getValue

public Object getValue()
変換に失敗したValue内のObjectを取得します。

printStackTrace

public void printStackTrace()
Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace(PrintStream s)
Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace(PrintWriter s)
Overrides:
printStackTrace in class Throwable