Class ErrorValue
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.value.ErrorValue
-
- All Implemented Interfaces:
javax.jcr.Value
public class ErrorValue extends java.lang.Object implements javax.jcr.ValueInstances of this class represent aValuewhich couldn't be retrieved. All its accessors throw aRepositoryException.
-
-
Constructor Summary
Constructors Constructor Description ErrorValue(java.lang.Exception exception, int type)ErrorValue(javax.jcr.RepositoryException e)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.jcr.BinarygetBinary()booleangetBoolean()java.util.CalendargetDate()java.math.BigDecimalgetDecimal()doublegetDouble()longgetLong()java.io.InputStreamgetStream()java.lang.StringgetString()intgetType()java.lang.StringtoString()
-
-
-
Method Detail
-
getString
public java.lang.String getString() throws javax.jcr.RepositoryException- Specified by:
getStringin interfacejavax.jcr.Value- Throws:
javax.jcr.RepositoryException
-
getStream
public java.io.InputStream getStream() throws javax.jcr.RepositoryException- Specified by:
getStreamin interfacejavax.jcr.Value- Throws:
javax.jcr.RepositoryException
-
getBinary
public javax.jcr.Binary getBinary() throws javax.jcr.RepositoryException- Specified by:
getBinaryin interfacejavax.jcr.Value- Throws:
javax.jcr.RepositoryException
-
getLong
public long getLong() throws javax.jcr.RepositoryException- Specified by:
getLongin interfacejavax.jcr.Value- Throws:
javax.jcr.RepositoryException
-
getDouble
public double getDouble() throws javax.jcr.RepositoryException- Specified by:
getDoublein interfacejavax.jcr.Value- Throws:
javax.jcr.RepositoryException
-
getDecimal
public java.math.BigDecimal getDecimal() throws javax.jcr.RepositoryException- Specified by:
getDecimalin interfacejavax.jcr.Value- Throws:
javax.jcr.RepositoryException
-
getDate
public java.util.Calendar getDate() throws javax.jcr.RepositoryException- Specified by:
getDatein interfacejavax.jcr.Value- Throws:
javax.jcr.RepositoryException
-
getBoolean
public boolean getBoolean() throws javax.jcr.RepositoryException- Specified by:
getBooleanin interfacejavax.jcr.Value- Throws:
javax.jcr.RepositoryException
-
getType
public int getType()
- Specified by:
getTypein interfacejavax.jcr.Value
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-