From 2f075c7e26400592b56de800f4fba8521be5acae Mon Sep 17 00:00:00 2001 From: Kegan Myers Date: Fri, 28 Feb 2014 11:27:20 -0600 Subject: [PATCH] Modify HttpUrl and JsonException --- lib/Typertext/Http/HttpUrl.ts | 4 ++++ lib/Typertext/Json/JsonException.ts | 14 ++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/lib/Typertext/Http/HttpUrl.ts b/lib/Typertext/Http/HttpUrl.ts index f415e16..043cda6 100644 --- a/lib/Typertext/Http/HttpUrl.ts +++ b/lib/Typertext/Http/HttpUrl.ts @@ -13,9 +13,13 @@ module Typertext.Http { }; /** + * A common interface for building a URL into something that can easily be decomposed for a client * * @param protocol * @returns {number} + * + * @author Kegan Myers + * @version 0.3.0 * @constructor */ public static DefaultPort(protocol:HttpProtocol) { diff --git a/lib/Typertext/Json/JsonException.ts b/lib/Typertext/Json/JsonException.ts index b4fc318..35976e3 100644 --- a/lib/Typertext/Json/JsonException.ts +++ b/lib/Typertext/Json/JsonException.ts @@ -1,5 +1,19 @@ +/** + * @namespace Typertext + * @module Json + */ module Typertext.Json { export class JsonException extends Typertext.BaseException { + /** + * The exception that will be raised when a problem has occurred in the Json module + * + * @param {string} message + * @param {number} code + * + * @author Kegan Myers + * @version 0.3.0 + * @constructor + */ constructor(message:string, code:number) { super(message, code, null); }