org.w3c.tools.resources
Class ProtocolException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--org.w3c.tools.resources.ProtocolException
- Direct Known Subclasses:
- HTTPException
- public class ProtocolException
- extends java.lang.Exception
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace,
getLocalizedMessage,
getMessage,
printStackTrace,
printStackTrace,
printStackTrace,
toString |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
ProtocolException
public ProtocolException(java.lang.String msg)
ProtocolException
public ProtocolException(java.lang.String msg,
ReplyInterface error)
ProtocolException
public ProtocolException(ReplyInterface error)
hasReply
public boolean hasReply()
- Was a reply provided with the exception ?
- Returns:
- True if a reply is available.
getReply
public ReplyInterface getReply()
- Get this exception reply.
- Returns:
- The reply to send back to requesting process.