org.apache.openjpa.persistence
Class NoResultException
java.lang.Object
   java.lang.Throwable
java.lang.Throwable
       java.lang.Exception
java.lang.Exception
           java.lang.RuntimeException
java.lang.RuntimeException
               javax.persistence.PersistenceException
javax.persistence.PersistenceException
                   javax.persistence.NoResultException
javax.persistence.NoResultException
                       org.apache.openjpa.persistence.NoResultException
org.apache.openjpa.persistence.NoResultException
- All Implemented Interfaces: 
- java.io.Serializable, ExceptionInfo
- public class NoResultException 
- extends javax.persistence.NoResultException- implements java.io.Serializable, ExceptionInfo
Unique query returned no results.
- Since:
- 0.4.0
- Author:
- Abe White
- See Also:
- Serialized Form
 
 
| Constructor Summary | 
| NoResultException(java.lang.String msg,
                  java.lang.Throwable[] nested,
                  java.lang.Object failed,
                  boolean fatal)
 | 
 
 
| Methods inherited from class java.lang.Throwable | 
| fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
 
NoResultException
public NoResultException(java.lang.String msg,
                         java.lang.Throwable[] nested,
                         java.lang.Object failed,
                         boolean fatal)
getType
public int getType()
- 
- Specified by:
- getTypein interface- ExceptionInfo
 
- 
 
getSubtype
public int getSubtype()
- 
- Specified by:
- getSubtypein interface- ExceptionInfo
 
- 
 
isFatal
public boolean isFatal()
- 
- Specified by:
- isFatalin interface- ExceptionInfo
 
- 
 
getCause
public java.lang.Throwable getCause()
- 
- Specified by:
- getCausein interface- ExceptionInfo
- Overrides:
- getCausein class- java.lang.Throwable
 
- 
 
getNestedThrowables
public java.lang.Throwable[] getNestedThrowables()
- 
- Specified by:
- getNestedThrowablesin interface- ExceptionInfo
 
- 
 
getFailedObject
public java.lang.Object getFailedObject()
- 
- Specified by:
- getFailedObjectin interface- ExceptionInfo
 
- 
 
toString
public java.lang.String toString()
- 
- Overrides:
- toStringin class- java.lang.Throwable
 
- 
 
printStackTrace
public void printStackTrace()
- 
- Specified by:
- printStackTracein interface- ExceptionInfo
- Overrides:
- printStackTracein class- java.lang.Throwable
 
- 
 
printStackTrace
public void printStackTrace(java.io.PrintStream out)
- 
- Overrides:
- printStackTracein class- java.lang.Throwable
 
- 
 
printStackTrace
public void printStackTrace(java.io.PrintWriter out)
- 
- Overrides:
- printStackTracein class- java.lang.Throwable
 
- 
 
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.