01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.net.protocol.tcm;
05:
06: /**
07: * @author orion
08: */
09: public class UnsupportedMessageTypeException extends RuntimeException {
10:
11: public UnsupportedMessageTypeException(String msg) {
12: super (msg);
13: }
14:
15: public UnsupportedMessageTypeException(TCMessageType type) {
16: this ("Unsupported Message type: " + type != null ? type
17: .toString() : "null");
18: }
19:
20: }
|