00001 00011 module mango.locks.Exceptions; 00012 00017 class WaitException : Exception { 00018 public this(char[] str) { super(str); } 00019 } 00020 00021 00026 class BrokenBarrierException : Exception { 00027 public this() { super("Broken Barrier"); } 00028 public this(char[] str) { super(str); } 00029 } 00030 00035 class TimeoutException : Exception { 00036 public this() { super("Timeout"); } 00037 public this(char[] str) { super(str); } 00038 } 00039 00044 class IllegalArgumentException : Exception { 00045 public this() { super("Illegal argument"); } 00046 public this(char[] str) { super(str); } 00047 } 00048 00053 class UnsupportedOperationException : Exception { 00054 this(){super("Unsupported operation");} 00055 this(char[] msg) { super(msg); } 00056 } 00057